package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 财务预算
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2023-11-09 00:22:19
 */
@TableName("caiwuyusuan")
public class CaiwuyusuanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public CaiwuyusuanEntity() {
		
	}
	
	public CaiwuyusuanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
	@TableId
	private Long id;
	/**
	 * 预算名称
	 */
					
	private String yusuanmingcheng;
	
	/**
	 * 类型
	 */
					
	private String leixing;
	
	/**
	 * 预算金额
	 */
					
	private Double yusuanjine;
	
	/**
	 * 预算依据
	 */
					
	private String yusuanyiju;
	
	/**
	 * 预算日期
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
	@DateTimeFormat 		
	private Date yusuanriqi;
	
	/**
	 * 备注
	 */
					
	private String beizhu;
	
	/**
	 * 经理账号
	 */
					
	private String jinglizhanghao;
	
	/**
	 * 经理姓名
	 */
					
	private String jinglixingming;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：预算名称
	 */
	public void setYusuanmingcheng(String yusuanmingcheng) {
		this.yusuanmingcheng = yusuanmingcheng;
	}
	/**
	 * 获取：预算名称
	 */
	public String getYusuanmingcheng() {
		return yusuanmingcheng;
	}
	/**
	 * 设置：类型
	 */
	public void setLeixing(String leixing) {
		this.leixing = leixing;
	}
	/**
	 * 获取：类型
	 */
	public String getLeixing() {
		return leixing;
	}
	/**
	 * 设置：预算金额
	 */
	public void setYusuanjine(Double yusuanjine) {
		this.yusuanjine = yusuanjine;
	}
	/**
	 * 获取：预算金额
	 */
	public Double getYusuanjine() {
		return yusuanjine;
	}
	/**
	 * 设置：预算依据
	 */
	public void setYusuanyiju(String yusuanyiju) {
		this.yusuanyiju = yusuanyiju;
	}
	/**
	 * 获取：预算依据
	 */
	public String getYusuanyiju() {
		return yusuanyiju;
	}
	/**
	 * 设置：预算日期
	 */
	public void setYusuanriqi(Date yusuanriqi) {
		this.yusuanriqi = yusuanriqi;
	}
	/**
	 * 获取：预算日期
	 */
	public Date getYusuanriqi() {
		return yusuanriqi;
	}
	/**
	 * 设置：备注
	 */
	public void setBeizhu(String beizhu) {
		this.beizhu = beizhu;
	}
	/**
	 * 获取：备注
	 */
	public String getBeizhu() {
		return beizhu;
	}
	/**
	 * 设置：经理账号
	 */
	public void setJinglizhanghao(String jinglizhanghao) {
		this.jinglizhanghao = jinglizhanghao;
	}
	/**
	 * 获取：经理账号
	 */
	public String getJinglizhanghao() {
		return jinglizhanghao;
	}
	/**
	 * 设置：经理姓名
	 */
	public void setJinglixingming(String jinglixingming) {
		this.jinglixingming = jinglixingming;
	}
	/**
	 * 获取：经理姓名
	 */
	public String getJinglixingming() {
		return jinglixingming;
	}

}
